Graphic objects and drawing elements > Property Panel > All properties and connections > Send press to
Select whether the button press will be sent to whatever object currently has the focus, or to a specific object linked to the button.